package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.log.OrderLogDao;
import com.tbit.uqbike.client.pojo.OrderLog;
import com.tbit.uqbike.client.service.OrderLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: chen
 * @Description:
 * @Date: 创建于 16:48 2021/1/19
 */
@Service("orderLogService")
public class OrderLogServiceImpl implements OrderLogService {

    @Autowired
    private OrderLogDao orderLogDao;

    @Override
    public OrderLog getByOrderNO(String orderNO) {
        return orderLogDao.getByOrderNO(orderNO);
    }

    @Override
    public void insert(OrderLog orderLog) {
        orderLogDao.insert(orderLog);
    }
}
